package com.zhiyou100.video.model;

import java.util.Date;

public class Video {
    private Integer id;

    private String videoTitle;

//   private Integer speakerId;
//
//    private Integer courseId;
    private Speaker sid;
    
    private Course cid;

    private Integer videoLength;

    private String videoImageUrl;

    private String videoUrl;

    private String videoDescr;

    private Date insertTime;

    private Date updateTime;

    private Integer videoPlayTimes;
    private String videoLengthStr;
    
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getVideoTitle() {
		return videoTitle;
	}
	public void setVideoTitle(String videoTitle) {
		this.videoTitle = videoTitle;
	}
	public Speaker getSid() {
		return sid;
	}
	public void setSid(Speaker sid) {
		this.sid = sid;
	}
	public Course getCid() {
		return cid;
	}
	public void setCid(Course cid) {
		this.cid = cid;
	}
	public Integer getVideoLength() {
		return videoLength;
	}
	public void setVideoLength(Integer videoLength) {
		this.videoLength = videoLength;
	}
	public String getVideoImageUrl() {
		return videoImageUrl;
	}
	public void setVideoImageUrl(String videoImageUrl) {
		this.videoImageUrl = videoImageUrl;
	}
	public String getVideoUrl() {
		return videoUrl;
	}
	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}
	public String getVideoDescr() {
		return videoDescr;
	}
	public void setVideoDescr(String videoDescr) {
		this.videoDescr = videoDescr;
	}
	public Date getInsertTime() {
		return insertTime;
	}
	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getVideoPlayTimes() {
		return videoPlayTimes;
	}
	public void setVideoPlayTimes(Integer videoPlayTimes) {
		this.videoPlayTimes = videoPlayTimes;
	}
	public String getVideoLengthStr() {
		return videoLengthStr;
	}
	public void setVideoLengthStr(String videoLengthStr) {
		this.videoLengthStr = videoLengthStr;
	}
	@Override
	public String toString() {
		return "Video [id=" + id + ", videoTitle=" + videoTitle + ", sid=" + sid + ", cid=" + cid + ", videoLength="
				+ videoLength + ", videoImageUrl=" + videoImageUrl + ", videoUrl=" + videoUrl + ", videoDescr="
				+ videoDescr + ", insertTime=" + insertTime + ", updateTime=" + updateTime + ", videoPlayTimes="
				+ videoPlayTimes + ", videoLengthStr=" + videoLengthStr + "]";
	}
	
	

	
	

    
    
}